<template>

    <!-- <button @click="back">返回</button> -->
    <div v-html="html">

    </div>


</template>
<script >
import { setup } from 'mockjs';
import { toRefs,ref } from 'vue';
import { useRouter } from 'vue-router';
export default{
    props:{
        html:String,
    },


setup(props){
    let html= ref('');
    console.log('html in zizujian',html)
    return{html}
},
mounted(){
    this.html = localStorage.getItem('html');
    console.log("??????",this.html)
}
// const router = useRouter();
// // var html = localStorage.getItem('html');
// const back = ()=>{
//     router.push({path:'/project'})
// }
}
</script>